#ifndef SHAPEDATA_H
#define SHAPEDATA_H

#include "Helper.h"


class ShapeData
{
public:
    ShapeData();
    ~ShapeData();

    void initShapeData(const string &_fileName);
    void createFixtures(b2Body* _body, const string &_key, const char &_filterGroup);

private:
    CCArray* getFixtureList(const pugi::xml_node &_fixtureNode);

public:
    string fileName;
    CCDictionary *fixtureDict;
};

#endif // SHAPEDATA_H
